/*
 * Copyright 2008-2012 Centro Andaluz de Innovación y Tecnologías de la
 * Información y las Comunicaciones (CITIC). All Rights Reserved.
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER
 *
 * Please contact CITIC - Edificio CITIC, C/ Marie Curie, 6 Parque
 * Tecnológico de Andalucía 29590 - Campanillas, Málaga, Spain
 * or visit www.citic.es, if you need additional information or
 * have any questions.
 */

package es.citic.puedes.youtube.tables;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * The persistent class for the youtubeuser database table.
 * 
 */
@Entity
@Table(name = "youtubemanager_youtubeuser")
public class YoutubeUser {

	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	@Column(name = "youtubeid")
	private Integer youtubeid;

	@Column(name = "pass")
	private String pass;

	@Column(name = "userid")
	private Integer userid;

	@Column(name = "username")
	private String username;

	public YoutubeUser() {
	}

	/**
	 * constructor with parameters
	 * 
	 * @param pass
	 *            youtube pass
	 * @param userid
	 *            PUEDeS user id
	 * @param username
	 *            youtube username
	 * 
	 */
	public YoutubeUser(String pass, Integer userid, String username) {
		this.pass = pass;
		this.userid = userid;
		this.username = username;

	}

	public Integer getYoutubeid() {
		return this.youtubeid;
	}

	public void setYoutubeid(Integer youtubeid) {
		this.youtubeid = youtubeid;
	}

	public String getPass() {
		return this.pass;
	}

	public void setPass(String pass) {
		this.pass = pass;
	}

	public Integer getUserid() {
		return this.userid;
	}

	public void setUserid(Integer userid) {
		this.userid = userid;
	}

	public String getUsername() {
		return this.username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

}